package bookstore.iservice;

import bookstore.idao.ICategoryDao;
import java.util.List;

import bookstore.model.Category;

public interface ICategoryService {

    void setCategoryDao(ICategoryDao categoryDao);

    void addCategory(Category category);

    void editCategory(Category category);

    void deleteCategory(Integer id);

    Category findCategoryById(Integer id);

    List<Category> findAllCategories();
}
